org.eclipse.vtp.desktop.editors.core.elements
Class ScriptedPrimitiveInformationProvider

java.lang.Object
  extended by org.eclipse.vtp.desktop.editors.core.elements.PrimitiveInformationProvider
      extended by org.eclipse.vtp.desktop.editors.core.elements.ScriptedPrimitiveInformationProvider

public class ScriptedPrimitiveInformationProvider
extends PrimitiveInformationProvider


Nested Class Summary
 class ScriptedPrimitiveInformationProvider.PanelRecord
           
 
Constructor Summary
ScriptedPrimitiveInformationProvider(PrimitiveElement element)
           
 
Method Summary
 boolean acceptConnector(Element origin)
           
 void addPropertiesPanel(java.lang.String name, java.lang.Class panelClass)
           
 boolean canDelete()
           
 java.util.List getActions(CommandListener commandListener)
           
 ConnectorRecord getConnectorRecord(java.lang.String recordName)
           
 java.util.List getConnectorRecords()
           
 java.util.List getConnectorRecords(int type)
           
 java.util.List getPropertiesPanels()
           
 java.lang.String getTypeId()
           
 java.lang.String getTypeName()
           
 boolean hasConnectors()
           
 void init(org.eclipse.core.runtime.IConfigurationElement configurationElement)
           
 void readConfiguration(org.w3c.dom.Element configuration)
           
 void writeConfiguration(org.w3c.dom.Element configuration)
           
 
Methods inherited from class org.eclipse.vtp.desktop.editors.core.elements.PrimitiveInformationProvider
getElement, getOutgoingVariables, hasPathToStart, resolve
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptedPrimitiveInformationProvider

public ScriptedPrimitiveInformationProvider(PrimitiveElement element)
Method Detail

init

public void init(org.eclipse.core.runtime.IConfigurationElement configurationElement)

getConnectorRecord

public ConnectorRecord getConnectorRecord(java.lang.String recordName)
Specified by:
getConnectorRecord in class PrimitiveInformationProvider

getConnectorRecords

public java.util.List getConnectorRecords()
Specified by:
getConnectorRecords in class PrimitiveInformationProvider

getConnectorRecords

public java.util.List getConnectorRecords(int type)
Specified by:
getConnectorRecords in class PrimitiveInformationProvider

readConfiguration

public void readConfiguration(org.w3c.dom.Element configuration)
Specified by:
readConfiguration in class PrimitiveInformationProvider

writeConfiguration

public void writeConfiguration(org.w3c.dom.Element configuration)
Specified by:
writeConfiguration in class PrimitiveInformationProvider

acceptConnector

public boolean acceptConnector(Element origin)
Specified by:
acceptConnector in class PrimitiveInformationProvider

getTypeId

public java.lang.String getTypeId()

getTypeName

public java.lang.String getTypeName()

addPropertiesPanel

public void addPropertiesPanel(java.lang.String name,
                               java.lang.Class panelClass)

getPropertiesPanels

public java.util.List getPropertiesPanels()
Specified by:
getPropertiesPanels in class PrimitiveInformationProvider

getActions

public java.util.List getActions(CommandListener commandListener)
Overrides:
getActions in class PrimitiveInformationProvider

canDelete

public boolean canDelete()
Overrides:
canDelete in class PrimitiveInformationProvider

hasConnectors

public boolean hasConnectors()
Specified by:
hasConnectors in class PrimitiveInformationProvider